# -*- coding: utf-8 -*- 
'''
Created on 2011-12-23

@author: TOM
'''
from django.conf.urls.defaults import patterns, include, url
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()


urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'website.views.home', name='home'),
    # url(r'^website/', include('website.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    url(r'^$','website.views.default'),
    url(r'^index/$','website.views.index'),
    url(r'^top/$','website.views.top'),
    url(r'^index_display/$','website.views.index_display'),
    url(r'^main/$','website.views.main'),
    url(r'^menu/$','website.views.menu'),
    url(r'^menu_list/$','website.views.menu_list'),
    url(r'^menu_select/$','website.views.menu_select'),
    url(r'^menu_save/$','website.views.menu_save'),
    url(r'^menu_del/$','website.views.menu_del'),
    url(r'^uploaded/$','website.views.uploaded'),
    url(r'^downloaded/','website.views.downloaded'),
    url(r'^menu_request/(?P<model>\w+)/(?P<page>\w+)/$','website.views.menu_request'),

    #资源管理
    url(r'^resourcecontrol/',include('website.resourcecontrol.urls')),
    #用户管理
    url(r'^usercontrol/',include('website.usercontrol.urls')),
    #员工管理
    url(r'^employecontrol/',include('website.employecontrol.urls')),
    #客户管理
    url(r'^customercontrol/',include('website.customercontrol.urls')),
    #财务管理
    url(r'^financecontrol/',include('website.financecontrol.urls')),   
)
